﻿<%@ page title="地面提货点" language="C#" masterpagefile="baseMasterPage.master" autoeventwireup="true" inherits="dmthd, App_Web_cphtqxoh" %>
<%@ Register Src="WebUserControl/PageNavigation.ascx" TagName="PageNavigation"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .WebNote_DataList{width:730px}
        
        #formdmthd td{font-size:14px;text-align:left}
        #formdmthd input{display:none}
        #remark{width:480px;height:80px;display:none}
        .WebNote_Field{font-weight:bold;font-size:14px;text-align:right}
        #formdmthd input{border:0px;width:100%}
        #baidumap{display:none}
        
        
        .dmthdlist li{padding:5px;border-bottom:1px #8C827D dashed;position:relative}
        .dmthdlist p{font-size:9pt;margin:5px 0px 5px 0px}
        
        a.detail{text-align:right;position:absolute;top:45px;right:0px;text-decoration:none}
        a.detail{color:green}
        
        span.bigstrong{font-weight:bold;font-size:14px}
        span.strong{font-weight:bold}
        .dmthdlist{margin:10px;}

    </style>
    <script type="text/javascript">
        $(document).ready(function() {
            renderTableDoubleColor();
        });

        function __showdetail(__dmthdid) {
            $form.ElementsDataFromXML("formdmthd", "admin/xmldmthd.aspx?dmthdid=" + __dmthdid);

            $("#baidumapshow").attr("src", $("#baidumap").val());


            var _t = "dmthdname,phone,address,postcode,remark".split(",");
            var i;
            for (i = 0; i < _t.length; i++) {
                $("#"+_t[i]+"_text").text($("#"+_t[i]).val());
            
            }


            $('#dialogdmthd').dialog({
                autoOpen: false,
                width: 680,
                height: 560,
                modal:true,
                resizable: false,
                title: "地面提货点详细信息"
            });

            $('#dialogdmthd').dialog('open');
        }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="UIsearch">
        <form method="get">
            搜索:<input type="text" name="keyword"/>
            <input type="submit" value="搜索" />
        </form>
    </div>
    <div id="pagelist1" runat="server" class="dmthdlist"></div>
    <div class="clear"></div>
    <uc1:PageNavigation id="PageNavigation1" runat="server">
    </uc1:PageNavigation>
    
    <div id="dialogdmthd" class="X-dialog">
        <form id="formdmthd">
  	        <table border="0" cellspacing="0" cellpadding="0" class="formtable">
    	        <tr>
	              <td class="WebNote_Field">提货点名称：</td>
	              <td><input type="text" name="dmthdname" id="dmthdname" nullabled="false" datatype="string" maxlength="100" alerttext="名称"/><span id="dmthdname_text"></span></td>
	            </tr>
    	        <tr>
	              <td class="WebNote_Field">提货点电话：</td>
	              <td><input type="text" name="phone" id="phone" nullabled="false" datatype="string" maxlength="50" alerttext="登录密码"/><span id="phone_text"></span>
	              </td>
	            </tr>
    	        <tr>
	              <td class="WebNote_Field">提货点地址：</td>
	              <td><input type="text" name="address" id="address" nullabled="false" datatype="string" maxlength="50" alerttext="地址"/><span id="address_text"></span></td>
	            </tr>
	            <!--
    	        <tr>
	              <td class="WebNote_Field">邮编：</td>
	              <td><input type="text" name="postcode" id="postcode" nullabled="false" datatype="string" maxlength="50" alerttext="邮编"/><span id="postcode_text"></span></td>
	            </tr>
	            -->
    	        <tr>
	              <td class="WebNote_Field">位置：</td>
	              <td>
	                <input type="text" name="baidumap" id="baidumap" nullabled="true" datatype="string" maxlength="255" alerttext="百度地图"/>
	                <img src="" id="baidumapshow" alt="百度地图"/>
                    </td>
	            </tr>
    	        <tr>
	              <td class="WebNote_Field">备注：</td>
	              <td><textarea name="remark" id="remark" maxlength="255"></textarea><span id="remark_text"></span></td>
	            </tr>
	        </table>
	    </form>
    </div>
</asp:Content>

